package com.home.demo.entity.vo.roleAndMenu;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class RoleAndMenuVO implements Serializable {

    private String roleId;

    private String role;

    private List<MenuVO> menuList = new ArrayList<>();

    @Data
    public static class MenuVO{
        /**
         * 菜单id
         */
        private String menuId;

        /**
         * 菜单名称
         */
        private String title;
        /**
         * 父级菜单id
         */
        private String parentId;
        /**
         * 菜单路径
         */
        private String path;


    }
}
